﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GSLMS.Services.Interface;
using GSLMS.Entity;
using GSLMS.Entity.DTO;
using GSLMS.DAL;
namespace GSLMS.Services
{
	/// <summary>
	/// 此层为服务层，已经继承了父类BaseService,已经定义好方法请查看BaseService类；若需要自定义方法请在此层增加并在数据层及接口层定义相关的方法
	/// </summary>
	public partial class SSYS_AUDITSET: BaseService<TB_SYS_AUDITSET>, ISYS_AUDITSET
	{
		private static readonly GSLMS.DAL.Oracle.SYS_AUDITSET dal = new GSLMS.DAL.Oracle.SYS_AUDITSET();
		public override BaseDAL<TB_SYS_AUDITSET> DAL
		{
			get { return dal; }
		}
        /// <summary>
        /// 验证是否终审用户
        /// </summary>
        /// <param name="specailType">特批业务类型，1提前结清、2展期、费用减免、3还款计划变更、4放款审批,5特批业务</param>
        /// <param name="userName">需要验证的用户名</param>
        /// <returns></returns>
        public bool CheckIsLastAuditUser(int specailType, string userName)
        {
            return dal.CheckIsLastAuditUser(specailType, userName);
        }
	}
}
